/**
 * Created by liubin on 2015/09/18.
 */
'use strict';

import Modernizr from 'modernizr';
import createBrowserHistory from 'history/lib/createBrowserHistory';
import createHashHistory from 'history/lib/createHashHistory';

const history = Modernizr.history ? createBrowserHistory() : createHashHistory();
export default history;
